﻿using System.IO;

namespace Haimen.Excel;

public class ExcelFileUtils {

  public FileStream OpenRead(string path) {
    return new(path, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
  }

  public FileStream OpenWrite(string path) {
    return new(path, FileMode.Open, FileAccess.ReadWrite, FileShare.ReadWrite);
  }
}
